import Vue from "vue"
import App from "./App.vue"
import store from "./store"
import router from "./router/index"
import Vant from "vant"
import "vant/lib/index.css"
import "amfe-flexible"
import "styles/index.scss"
import "./utils/filter"
Vue.use(Vant)
Vue.config.productionTip = false
import echarts from "echarts"
Vue.prototype.$echarts = echarts

import components from "./components"
for (const key in components) {
  console.log(key);
  Vue.component(key, components[key])
}
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app")
